To replicate the analyses in ... 

Huijsmans, T. & Rodden, J. (2024) The Great Global Divider? A Comparison of 
Urban-Rural Partisan Polarization in Western Democracies. Comparative Political
Studies

... follow the steps below:


1. 	Download URED_regions, URED_elections.csv and URED_parties.csv from:
	https://osf.io/gwumr/files/osfstorage

2. 	Save the datasets in the same folder 

3. 	Download and open the replication code 'replication_Huijsmans_Rodden_CPS.do'. Write the
	location where you saved the dataset in the in the global 'path' command in the beginning
	of this .do-file. Save the .do-file.
	
4. 	To replicate Figure 1 in the paper, plus all analyses in the appendices of the paper, run
	the code in 'replication_Huijsmans_Rodden_CPS.do'

5. 	To replicate Figures 2, 3, and 4 in the paper, run 'Replicate_plots_parties.R'


If you have any questions, or if you spot any mistakes or inconsistencies in the data or the code, please get in touch with Twan Huijsmans via t.m.huijsmans@uva.nl